<?xml version="1.0" encoding="UTF-8"?>
<!-- version="2021-02-25" -->
<!-- 规范说明 begin -->
<!-- 1.标签名和属性名统一使用小写字母（不能用小写字母的地方请做出说明） -->
<!-- 2.标签名和属性名的单词之间的分隔符统一用点“.” (不能用“.”分隔的地方请做出说明) -->
<!-- 3.配置项只有单个值（value属性后面直接以反斜杠“/”结束，详细见example示例） -->
<!-- 规范说明 end -->
<global>
    <!-- example begin -->
    <example>
        <!-- 配置项只有单个值（value属性后面直接以反斜杠“/”结束） -->
        <property name="what.is.your.name" value="bonree"/>
        <!-- 配置项有多个值 -->
        <property name="multi.value">
            <list>
                <value>1</value>
                <value>2</value>
                <value>3</value>
            </list>
        </property>
    </example>
    <!-- example end -->

    <!-- 1.公共变量 -->
    <common>
        <!-- 文件路径,各项目可在此目录后扩展各自己的目录(以各项目名为目录) 适用项目: platform, browser -->
        <property name="root.folder" value="/data/br/"/>
        <!-- 融合数据转发开关, 默认为关 适用项目: platform(部署时设置为true)，browser、server、sdk（如果没有融合设置为false） -->
        <property name="platform.flag" value="false"/>
        <!-- nfs基本路径,各项目可在此目录后扩展各自己的目录(以各项目名为目录)-->
        <property name="nfs.path" value="/data/br/nfs/"/>
        <!-- 是否支持国际化 ,true支持，false不支持，默认为true-->
        <property name="language.flag" value="true"/>
    </common>

    <!-- 2.redis地址 -->
    <redis>
        <!-- 如果redis.nat设置false,则redis.cluster属性list中的格式是127.0.0.1:37000; 如果设置true, 刚格式是215.128.40.1/127.0.0.1:37000-->
        <property name="redis.cluster">
            <list>
            {% if groups.redis is defined %}
            {% for host in groups.redis %}
                {% for port in redis.ports %}
                <value>{{ host }}:{{ port }}</value>
                {% endfor %}
            {% endfor %}
            {%endif%}
            </list>
        </property>
        <!-- 是否开启redis的nat配置.-->
        <property name="redis.nat" value="false"/>
        <!-- redis密码设置 若改配置不存在或者改配置不设置密码，redis默认为无密码 -->
        <property name="redis.password" value="{%if redis.encryption_pwd is defined %}{{ redis.encryption_pwd }}{%endif%}"/>
        <!-- redis版本 3.0 or 2.8 -->
        <property name="redis.version" value="3.0"/>
    </redis>

    <!--3. Kafka集群信息-->
    <kafka>
        <property name="host">
            <list>
            {%if groups.kafka is defined %}
            {% for host in groups.kafka %}
                <value>{{ host }}:{{ kafka.port }}</value>
            {% endfor %}
            {%endif%}
            </list>
        </property>
        <!-- 默认不加密，暂只支持SASL— NONE/SASL>-->
        <property name="encrypt.type" value="NONE"/>
        <!-- 以下权限配置格式：username@password；可明文也可以密文，密文需由com.bonree.security.EncryptionAlgorithmImpl工具加密>-->
        <!-- kafka 实现生产者SASL认证的授权用户密码 -->
        <property name="producer.security.auth.login.config"
                  value="B2818CADE849FC80EAB384A3D5E29A9F0116BA49DA9F56B5BF065CA4628B8386"/>
        <!-- kafka 实现生产者SASL认证的授权用户密码 -->
        <property name="consumer.security.auth.login.config"
                  value="FA46C42E7206AE037308CC40E3C9940B0116BA49DA9F56B5BF065CA4628B8386"/>
        <producer><!-- 优化后的生产者参数-->
            <property name="acks" value="1"/>
            <property name="linger.ms" value="20"/>
            <property name="request.timeout.ms" value="90000"/>
            <property name="max.request.size" value="10485760"/>
            <property name="buffer.memory" value="33554432"/>
            <property name="batch.size" value="81920"/>
            <property name="retries" value="5"/>
            <property name="compression.type" value="lz4"/>
        </producer>
        <consumer><!-- 优化后的消费者参数-->
            <property name="max.partition.fetch.bytes" value="10485760"/>
            <property name="enable.auto.commit" value="false"/>
            <property name="auto.commit.interval.ms" value="1000"/>
            <property name="request.timeout.ms" value="300500"/>
            <property name="session.timeout.ms" value="90000"/>
            <property name="heartbeat.interval.ms" value="5000"/>
            <property name="max.poll.interval.ms" value="300000"/>
            <property name="max.poll.records" value="30"/>
            <property name="fetch.min.bytes" value="1024"/>
        </consumer>
    </kafka>

    <!-- 4.hadoop信息-->
    <hadoop>
        {% if groups.hadoop_nn is defined and (groups.hadoop_nn|length) >= 2 %}
        <!-- 20190524 SDK V5.9.1版本填写core-site.xml中配置文件中的对应配置 -->
        <property name="fs.defaultFS" value="hdfs://hadoopha"/>
        <!-- 20190524 SDK V5.9.1版本新增以下是hdfs-site.xml中的配置key和value都需要按照配置文件中配置，ha部署是需要配置 -->
        <property name="dfs.nameservices" value="hadoopha"/>
        <property name="dfs.ha.namenodes.hadoopha" value="{% for host in groups.hadoop_nn %}nn{{ loop.index }}{% if not loop.last %},{% endif %}{% endfor %}"/>
        {% for host in groups.hadoop_nn %}
            <property name="dfs.namenode.rpc-address.hadoopha.nn{{ loop.index }}" value="{{ hostvars[host].inventory_hostname}}:{{ hadoop.rpc_port }}"/>
        {% endfor %}
        <property name="dfs.client.failover.proxy.provider.hadoopha" value="org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider"/>
        {% elif groups.hadoop_nn is defined and (groups.hadoop_nn|length) == 1 %}
        <property name="fs.defaultFS" value="hdfs://{{ groups.hadoop_nn[0] }}:{{ hadoop.rpc_port }}"/>
        <property name="dfs.replication" value="{{ hadoop.hdfs_repl }}"/>
        <property name="fs.hdfs.impl" value="org.apache.hadoop.hdfs.DistributedFileSystem"/>
        {% else %}
        <property name="fs.defaultFS" value=""/>
        <property name="dfs.replication" value=""/>
        <property name="fs.hdfs.impl" value=""/>
        {% endif %}
    </hadoop>

    <!-- 5.hbase信息, 目前只有server用到, 完全切换到brfs后下掉 -->
    <!-- 此处list内容为hbase的zookeeper ip 地址 -->
    <hbase>
        <!--zookeeper中存储hbase元数据的文件夹-->
        <property name="zookeeper.znode.parent" value="/hbase"/>
        <property name="hbase.zookeeper.property.clientPort" value="{%if zk.port is defined %}{{zk.port}}{%endif%}"/>
        <property name="hbase.zookeeper.quorum">
            <list>
            {%if groups.zookeeper is defined %}
            {% for host in groups.zookeeper %}
                <value>{{ host }}</value>
            {% endfor %}
            {% endif %}
            </list>
        </property>
    </hbase>

    <!-- 7.各业务接口地址 -->
    <service>
        <products>
            <property name="net.url" value="http://net.bonree.com"/>
            <property name="app.url" value="http://{% if (init_zk.authority.type == 1) %}bmtp.bonree.com{% else %}{% if groups.nginx is defined and (groups.nginx|length == 1 ) %}{{ hostvars[groups.nginx[0]].ansible_ssh_host }}{%elif groups.nginx is defined and (groups.nginx|length > 1 ) %}{{ nginx.virtual_ip }}{% endif %}:{{nginx.app_port}}{% endif %}"/>
            <property name="mp.url" value="https://mp.bonree.com"/>
            <property name="platform.url" value="https://{{ init_zk.global.platform_url}}"/>
        {% if groups.nginx is defined and (groups.nginx | length) == 1 %}
            <property name="sdk.url" value="http://{{ hostvars[groups.nginx[0]].ansible_ssh_host }}:{{ nginx.sdk_port }}"/>
            <property name="server.url" value="http://{{ hostvars[groups.nginx[0]].ansible_ssh_host }}:{{ nginx.server_port }}"/>
            <property name="browser.url" value="http://{{ hostvars[groups.nginx[0]].ansible_ssh_host }}:{{ nginx.browser_port }}"/>
            <property name="sdkBig.url" value="http://{{ hostvars[groups.nginx[0]].ansible_ssh_host }}:{{ nginx.sdkbig_port }}"/>
            <property name="view.url" value="http://{{ hostvars[groups.nginx[0]].ansible_ssh_host }}:{{ nginx.dataview_port }}"/>
            <property name="newplatform.url" value="http://{{ hostvars[groups.nginx[0]].ansible_ssh_host }}:{{ nginx.cloud_port }}"/>
            <property name="alert.url" value="http://{{ hostvars[groups.nginx[0]].ansible_ssh_host }}:{{nginx.alert_port}}"/>
        {% elif groups.nginx is defined and (groups.nginx | length) > 1 %}
            <property name="sdk.url" value="http://{{ nginx.virtual_ip }}:{{ nginx.sdk_port }}"/>
            <property name="server.url" value="http://{{ nginx.virtual_ip }}:{{ nginx.server_port }}"/>
            <property name="browser.url" value="http://{{ nginx.virtual_ip }}:{{ nginx.browser_port }}"/>
            <property name="sdkBig.url" value="http://{{ nginx.virtual_ip }}:{{ nginx.sdkbig_port }}"/>
            <property name="view.url" value="http://{{ nginx.virtual_ip }}:{{ nginx.dataview_port }}"/>
            <property name="newplatform.url" value="http://{{ nginx.virtual_ip }}:{{ nginx.cloud_port }}"/>
            <property name="alert.url" value="http://{{ nginx.virtual_ip }}:{{nginx.alert_port}}"/>
        {% else %}
            <property name="sdk.url" value=""/>
            <property name="server.url" value=""/>
            <property name="browser.url" value=""/>
            <property name="sdkBig.url" value=""/>
            <property name="view.url" value=""/>
            <property name="newplatform.url" value=""/>
            <property name="alert.url" value=""/>
        {% endif %}
        </products>
        <rpc>
            <property name="sdk.new.api.url" value="{% if ( init_zk.authority.type == 2) %}http://{% if groups.nginx is defined and (groups.nginx | length) > 0 %}{% if (groups.nginx | length) == 1 %}{{ hostvars[groups.nginx[0]].ansible_ssh_host }}{% else %}{{ nginx.virtual_ip }}{% endif %}:{{ nginx.sdk_port }}/sdk-new{% else %}sdk.bonree.com/sdk-new{% endif %}{% else %}https://sdk.bonree.com/sdk-new{% endif %}" />
        </rpc>
        <swift>
            <!-- swift 服务信息 ，以下是调试环境-->
            <property name="swift.url" value="http://10.240.47.219:19191"/>
            <property name="swift.username" value="hello"/>
            <property name="swift.password" value="BA55023C6F0DB0AAF72D9FCB77A53506"/>
        </swift> 
    </service>

    <!-- 8.zeus信息 -->
    <zeus>
        <property name="zeus.url" value="{%if groups.zeus is defined %}{% for host in groups.zeus %}http://{{  hostvars[host].inventory_hostname }}:{{ zeus.port }}/v1{% if not loop.last %},{% endif %}{% endfor %}{%endif%}"/>
    </zeus>
    <druid>
        <!-- druid-broker数据查询地址,多个用逗号分隔 -->
        <property name="queryNode" value="{%if groups.druid_broker is defined %}{% for host in groups.druid_broker %}http://{{  host }}:{{ druid.broker.port }}{% if not loop.last %},{% endif %}{% endfor %}{%endif%}"/>
        <!-- overlord地址,多个用逗号分隔  -->
        <property name="overlord" value="{%if groups.druid_overlord is defined %}{% for host in groups.druid_overlord %}http://{{  host }}:{{ druid.overlord.port }}{% if not loop.last %},{% endif %}{% endfor %}{%endif%}"/>
        <!-- coordinator地址,多个用逗号分隔  -->
        <property name="coordinator" value="{%if groups.druid_coordinator is defined%}{% for host in groups.druid_coordinator %}http://{{  host }}:{{ druid.coordinator.port }}{% if not loop.last %},{% endif %}{% endfor %}{%endif%}"/>
    </druid>
    <presto>
    {%if groups.druid_presto is undefined%}
        <!-- presto协调节点地址，多个用逗号分隔 -->
        <property name="queryNode" value=""/>
    {% elif (groups.druid_presto| length) == 1 %}
        <!-- presto协调节点地址，多个用逗号分隔 -->
        <property name="queryNode" value="http://{{hostvars[groups.druid_presto[0]].ansible_ssh_host}}:{{ druid.presto.port }}"/>
    {% else %}
        <!-- presto协调节点地址，多个用逗号分隔 -->
        <property name="queryNode" value="http://{{ druid.presto.virtual_ip }}:{{ druid.presto.port }}"/>
    {% endif %}
        <property name="user" value="presto-cli"/>
        <property name="druidCatalogAndSchema" value="zeus.production"/>
    </presto>

    <!-- 9.bonree cloud信息 -->
    <pf>

        <!--获取服务授权信息-->
        <property name="acc.auth.key" value="pf_1_authApp_"/>

        <!--计费明细topic-->
        <property name="cost.topic" value="platform_cost"/>
        <api>
        {% if groups.nginx is defined and (groups.nginx | length) == 1 %}
            <!-- bonree cloud的api地址, 注: bonree cloud的web可能是外网访问, 此api是内网访问-->
            <property name="platform.api.url" value="http://{{ hostvars[groups.nginx[0]].ansible_ssh_host }}:{{ nginx.cloud_port }}/api"/>
        {% elif groups.nginx is defined and (groups.nginx | length) > 1 %}
            <!-- bonree cloud的api地址, 注: bonree cloud的web可能是外网访问, 此api是内网访问-->
            <property name="platform.api.url" value="http://{{ nginx.virtual_ip }}:{{ nginx.cloud_port }}/api"/>
        {% else %}
            {% if (groups.cloud_web is defined) and (groups.cloud_web | length ) >0 %}
            <!-- bonree cloud的api地址, 注: bonree cloud的web可能是外网访问, 此api是内网访问-->
            <property name="platform.api.url" value="http://{{ hostvars[groups.cloud_web[0]].ansible_ssh_host }}:{{ cloud_web.port }}/api"/>
            {% else %}
            <!-- bonree cloud的api地址, 注: bonree cloud的web可能是外网访问, 此api是内网访问-->
            <property name="platform.api.url" value=""/>
            {% endif %}
        {% endif %}
            <!-- 固定token-->
            <property name="platform.token" value="eyJhbGciOiJIUzI1NiJ9"/>
        </api>
        <!-- 是否单点登录 or 账号打通(true:使用cas单点登录  false:不使用cas单点登录)(不支持热更新) -->
        <property name="cloud.is.sso" value="ture"/>
        <!--同步外置数据源节点(1.3.0支持热更新)-->
        <property name="cloud.sync.datasource" value="db server,db view,db sdk,db browser"/>
        <!-- dataview帮助文档(支持热更新) -->
        <property name="cloud.dataview.help.document" value="https://dataview.bonree.com/"/>
        <!-- hazelcast TCP/IP配置信息(可选)，不配置则通过组播实现集群，docker部署则必须配置(不支持热更新) 注：公有云环境需要根据实际情况配置-->
        <property name="cloud.hazelcast.member.list">
            <list>
                <value>10.241.110.7:5701</value>
                <value>10.241.110.7:5702</value>
            </list>
        </property>
    </pf>

    <!-- 10.sso信息 -->
    <sso>
    {% if groups.nginx is defined and (groups.nginx | length) == 1 %}
        <!-- cas访问地址 -->
        <property name="cas.url" value="http://{{ hostvars[groups.nginx[0]].ansible_ssh_host }}:{{ nginx.sso_port }}/cas"/>
        <!-- cas内网地址 -->
        <property name="cas.custom.url" value="http://{{ hostvars[groups.nginx[0]].ansible_ssh_host }}:{{ nginx.sso_port }}/cas"/>
    {% elif groups.nginx is defined and (groups.nginx | length) > 1 %}
        <!-- cas访问地址 -->
        <property name="cas.url" value="http://{{ nginx.virtual_ip }}:{{ nginx.sso_port }}/cas"/>
        <!-- cas内网地址 -->
        <property name="cas.custom.url" value="http://{{ nginx.virtual_ip }}:{{ nginx.sso_port }}/cas"/>
    {% else %}
        <!-- cas访问地址 -->
        <property name="cas.url" value="https://passport.bonree.com/cas"/>
        {%if groups.sso is undefined%}
        <!-- cas内网地址 -->
        <property name="cas.custom.url" value=""/>
        {% elif (groups.sso |length) >=1 %}
        <!-- cas内网地址 -->
        <property name="cas.custom.url" value="http://{{ hostvars[groups.sso[0]].ansible_ssh_host }}:{{ sso.port }}/cas"/>
        {% else %}
        <!-- cas内网地址 -->
        <property name="cas.custom.url" value="http://127.0.0.1:{{ sso.port }}/cas"/>
        {% endif %}
    {% endif %}

        <!-- cas客户端类型，可选值'custom','basic'，若为custom时，cas地址采用cas.custom.url的值，否则采用cas.url值 -->
        <property name="cas.client.mode" value="basic"/>
        <!-- cas模式: 0-单机 1-集群(ehcache实现) SSO v2.0.0.0后废弃-->
        <property name="cas_mode" value="1"/>
        <!-- 私有化时,单点登录后,默认跳转的地址(默认cloud地址)，SSO v2.0.0.0后废弃 -->
        <property name="platfrom.url" value="http://devtest.ibr.cc:20365/platform"/>
        <!-- hazelcast TCP/IP配置信息(可选)，不配置则通过组播实现集群，docker部署则必须配置 注：公有云环境需要根据实际情况配置-->
        <property name="cas.hazelcast.member.list">
            <list>
                <value>192.168.0.158:5701</value>
                <value>192.168.0.158:5702</value>
            </list>
        </property>
    </sso>

    <!-- 11.数据库连接信息 -->
    <db>
        {% if groups.mysql is defined %}
        <sdk>
            <property name="driver.class" value="com.mysql.jdbc.Driver"/>
            <property name="url"
                      value="jdbc:mysql://{{hostvars[groups.mysql[0]].ansible_ssh_host}}:{{mysql.port}}/br_sdk_druid?useServerPrepStmts=false&amp;rewriteBatchedStatements=true&amp;useUnicode=true&amp;characterEncoding=UTF-8&amp;allowMultiQueries=true&amp;zeroDateTimeBehavior=convertToNull"/>
            <property name="username" value="{{mysql.mysql_user}}"/>
            <property name="password" value="{{mysql.mysql_passwd}}"/>
        </sdk>
        <server>
            <property name="driver.class" value="com.mysql.jdbc.Driver"/>
            <property name="url"
                      value="jdbc:mysql://{{hostvars[groups.mysql[0]].ansible_ssh_host}}:{{mysql.port}}/br_apmserver?useServerPrepStmts=false&amp;rewriteBatchedStatements=true&amp;useUnicode=true&amp;characterEncoding=UTF-8&amp;allowMultiQueries=true&amp;zeroDateTimeBehavior=convertToNull"/>
            <property name="username" value="{{mysql.mysql_user}}"/>
            <property name="password" value="{{mysql.mysql_passwd}}"/>
        </server>
        <browser>
            <property name="driver.class" value="com.mysql.jdbc.Driver"/>
            <property name="url"
                      value="jdbc:mysql://{{hostvars[groups.mysql[0]].ansible_ssh_host}}:{{mysql.port}}/browser?useServerPrepStmts=false&amp;rewriteBatchedStatements=true&amp;useUnicode=true&amp;characterEncoding=UTF-8&amp;allowMultiQueries=true&amp;zeroDateTimeBehavior=convertToNull"/>
            <property name="username" value="{{mysql.mysql_user}}"/>
            <property name="password" value="{{mysql.mysql_passwd}}"/>
        </browser>
        <platform>
            <property name="driver.class" value="com.mysql.jdbc.Driver"/>
            <property name="url"
                      value="jdbc:mysql://{{hostvars[groups.mysql[0]].ansible_ssh_host}}:{{mysql.port}}/br_platform?useServerPrepStmts=false&amp;rewriteBatchedStatements=true&amp;useUnicode=true&amp;characterEncoding=UTF-8&amp;allowMultiQueries=true&amp;zeroDateTimeBehavior=convertToNull"/>
            <property name="username" value="{{mysql.mysql_user}}"/>
            <property name="password" value="{{mysql.mysql_passwd}}"/>
        </platform>
        <sso>
            <property name="driver.class" value="com.mysql.jdbc.Driver"/>
            <property name="user.level" value="1"/>
            <property name="name" value="sso"/>
            <property name="type" value="sys"/>
            <property name="url" value="jdbc:mysql://{{hostvars[groups.mysql[0]].ansible_ssh_host}}:{{mysql.port}}/br_platform"/>
            <property name="username" value="{{mysql.mysql_user}}"/>
            <property name="password" value="{{mysql.mysql_passwd}}"/>
        </sso>
        <view>
            <property name="driver.class" value="com.mysql.jdbc.Driver"/>
            <property name="url"
                      value="jdbc:mysql://{{hostvars[groups.mysql[0]].ansible_ssh_host}}:{{mysql.port}}/br_view?useServerPrepStmts=false&amp;rewriteBatchedStatements=true&amp;useUnicode=true&amp;characterEncoding=UTF-8&amp;allowMultiQueries=true&amp;zeroDateTimeBehavior=convertToNull"/>
            <property name="username" value="{{mysql.mysql_user}}"/>
            <property name="password" value="{{mysql.mysql_passwd}}"/>
        </view>
        <mp>
            <property name="driver.class" value="com.mysql.jdbc.Driver"/>
            <property name="url"
                      value="jdbc:mysql://{{hostvars[groups.mysql[0]].ansible_ssh_host}}:{{mysql.port}}/br_mp?useServerPrepStmts=false&amp;rewriteBatchedStatements=true&amp;useUnicode=true&amp;characterEncoding=UTF-8&amp;allowMultiQueries=true&amp;zeroDateTimeBehavior=convertToNull"/>
            <property name="username" value="{{mysql.mysql_user}}"/>
            <property name="pwd" value="{{mysql.mysql_passwd}}"/>
        </mp>
        <zeus>
            <property name="driver.class" value="com.mysql.jdbc.Driver"/>
            <property name="url"
                      value="jdbc:mysql://{{hostvars[groups.mysql[0]].ansible_ssh_host}}:{{mysql.port}}/zeusdb?useServerPrepStmts=false&amp;rewriteBatchedStatements=true&amp;useUnicode=true&amp;characterEncoding=UTF-8&amp;allowMultiQueries=true&amp;zeroDateTimeBehavior=convertToNull"/>
            <property name="username" value="{{mysql.mysql_user}}"/>
            <property name="password" value="{{mysql.mysql_passwd}}"/>
        </zeus>
        <smartalert>
            <!-- 数据库驱动类 -->
            <property name="driver.class" value="com.mysql.cj.jdbc.Driver"/>
            <!-- 数据库地址 -->
            <property name="url"
                      value="jdbc:mysql://{{hostvars[groups.mysql[0]].ansible_ssh_host}}:{{mysql.port}}/br_alert?useSSL=false&amp;useServerPrepStmts=false&amp;serverTimezone=GMT%2B8&amp;rewriteBatchedStatements=true&amp;useUnicode=true&amp;characterEncoding=UTF-8&amp;allowMultiQueries=true&amp;zerodatetimebehavior=converttonull"/>
            <property name="username" value="{{mysql.mysql_user}}"/>
            <!-- alert 数据库密码 -->
            <property name="password" value="{{mysql.mysql_passwd}}"/>
       </smartalert>
       {%endif%}
    </db>

    <!-- 12.公共报警方式配置 -->
    <alert>
        <sms>
            <!-- 短信配置 （报警用到）适用项目:  sdk, server, browser -->
           
            {%if ( init_zk.authority.type == 1)%}
        		<property name="sms.server.addr" value="http://sms.joinbr.com/Bonreesms/smsservlet"/>
        		<property name="sms.server.name" value=bonreesmsadmin"/>
        		<property name="sms.server.pwd" value="DF39D09EDF093E1947D2AA964AB05C41"/>
		
            {% else %}
            #私有化部署渲染个错的地址先让程序启动，后续再根据客户信息修改
        		<property name="sms.server.addr" value="http://sms.bonreee.com/Bonreesms/smsservlet"/>
        		<property name="sms.server.name" value=br"/>
        		<property name="sms.server.pwd" value="E3795536D76A6A1DD7ED71883C3B112D"/>	
        	{% endif %}
            <property name="sms.server.is.anonymous" value="false"/>
        </sms>
        <mail><!-- 邮件配置 （报警、自动报告用到） 适用项目:  sdk, server, browser-->
            <property name="mail.server.addr" value="smtp.bonree.com"/>
            <property name="mail.server.port" value="465"/>
            <property name="mail.server.name" value="redalert@bonree.com"/>
            <property name="mail.server.pwd" value="A0878C5CFCBC13FF95C0AF0E379DDBC96BCE71A8674F35366ED87E9516DD580E"/>
            <property name="mail.server.from" value="redalert@bonree.com"/>
            <property name="mail.server.is.ssl" value="true"/>
            <property name="mail.server.is.anonymous" value="false"/>
        </mail>
    </alert>
    <!-- 13 快照脚本路径-->
    <shotscreen>
        <property name="phantomjs.exe.path" value="/data/br/base/phantomjs/bin/phantomjs"/>
        <property name="phantomjs.js.path" value="/data/br/base/phantomjs/screenshot.js"/>
    </shotscreen>
    <!-- 公司相关信息 -->
    <company>
        <!-- 版权信息 -->
        <property name="copyright" value="Copyright ©2007-${currYear} All rights reserved."/>
        <!-- 公司全称 -->
        <property name="company.full.name" value="北京博睿宏远数据科技股份有限公司 版权所有   京 ICP备 08104257 号 京公网安备 11010102002419"/>
        <!-- 公司全称英文 -->
        <property name="company.full.name.us"
                  value="Bonree Data Technology Co.,ltd All Right Reserved 京 ICP备 08104257 号 京公网安备 11010102002419"/>
        <!-- 系统标题 -->
        <property name="title" value="bonree"/>
    </company>

    <cnzz><!-- 站长统计开关（true:启用、false：不启用） -->
        <property name="cnzz.switch" value="true"/>
    </cnzz>
    <shotscreen>
        <property name="phantomjs.exe.path" value="/data/br/base/phantomjs/bin/phantomjs"/>
        <property name="phantomjs.js.path" value="/data/br/base/phantomjs/screenshot.js"/>
    </shotscreen>
    <authority> <!-- 权限类型（1：公有云、2：私有云） -->
        <property name="authority.type" value="{{ init_zk.authority.type }}"/>
    </authority>
    <filter><!-- referer白名单, 可以不填写, 需要限制的, 以通配符形式配置, 如: *127.0.0.1*  *.browser.* -->
        <property name="referer.white.list">
            <list>
                <value>*</value>
            </list>
        </property>
    </filter>
</global>
